package com.zhentao.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.banner.dto.BannerDto;
import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.realname.dto.RealnameDto;
import com.zhentao.model.realname.pojo.ApRealname;
import freemarker.template.TemplateException;
import io.minio.errors.*;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
* @author 许文倩
* @description 针对表【ap_realname】的数据库操作Service
* @createDate 2024-07-01 21:13:12
*/
public interface ApRealnameService extends IService<ApRealname> {

    ResponseResult getlist(RealnameDto dto);

    ResponseResult add(ApRealname realname) throws ServerException, TemplateException, InvalidBucketNameException, InsufficientDataException, ErrorResponseException, IOException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException;

    ResponseResult findAllAcByUser(Integer id);

    ResponseResult getByUserId(Integer userId);
}
